import { request, requestSync } from '@/utils/request'

export const creditCard = data => {
  return requestSync({
    url: '/system/creditCard/add',
    method: 'post',
    data
  })
}

export const creditCardAddLife= data => {
  return requestSync({
    url: '/system/creditCard/addLife',
    method: 'post',
    data
  })
}
